import adminLayout from '@/layout/admin/index';
import commonLayout from '@/layout/admin/common';
export default [{
	path: '/manager',
	name: 'Manager',
	redirect: '/manager/index',
	meta: {
		title: '用户首页'
	},
	component: adminLayout,
	children: [{
		path: 'project',
		name: 'ManagerProject',
		redirect: 'project/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'ManagerProjectList',
			meta: {
				title: '课题管理'
			},
			component: () => import('@/views/manager/project/index')
		}, {
			path: 'form',
			name: 'ManagerProjectForm',
			meta: {},
			component: () => import('@/views/manager/project/form')
		}, {
			path: 'detail',
			name: 'ManagerProjectDetail',
			meta: {},
			component: () => import('@/views/manager/project/detail')
		}]
	}, {
		path: 'experiment',
		name: 'ManagerExperiment',
		redirect: 'experiment/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'ManagerExperimentList',
			meta: {
				title: '实验管理'
			},
			component: () => import('@/views/manager/experiment/index')
		}, {
			path: 'form',
			name: 'ManagerExperimentForm',
			meta: {},
			component: () => import('@/views/manager/experiment/form')
		}, {
			path: 'detail',
			name: 'ManagerExperimentDetail',
			meta: {},
			component: () => import('@/views/manager/experiment/detail')
		}]
	}, {
		path: 'achievement',
		name: 'ManagerAchievement',
		redirect: 'achievement/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'ManagerAchievementList',
			meta: {
				title: '成果与总结管理'
			},
			component: () => import('@/views/manager/achievement/index')
		}, {
			path: 'form',
			name: 'ManagerAchievementForm',
			meta: {
				title: '成果与总结管理'
			},
			component: () => import('@/views/manager/achievement/form')
		}, {
			path: 'detail',
			name: 'ManagerAchievementDetail',
			meta: {},
			component: () => import('@/views/manager/achievement/detail')
		}]
	}, {
		path: 'schedule',
		name: 'ManagerSchedule',
		redirect: 'schedule/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'ManagerScheduleList',
			meta: {
				title: '实验安排'
			},
			component: () => import('@/views/manager/schedule/index')
		}, {
			path: 'detail',
			name: 'ManagerScheduleForm',
			meta: {
				title: '实验详情'
			},
			component: () => import('@/views/manager/schedule/detail')
		}]
	}, {
		path: 'summary',
		name: 'ManagerSummary',
		redirect: 'summary/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'ManagerSummaryList',
			meta: {
				title: '实验小结'
			},
			component: () => import('@/views/manager/summary/index')
		}, {
			path: 'detail',
			name: 'ManagerSummaryForm',
			meta: {
				title: '实验详情'
			},
			component: () => import('@/views/manager/summary/detail')
		}]
	}]
}]